package com.nanhai.buddhist.college.module.study.convert.qrcodeconfig;

import com.nanhai.buddhist.college.module.study.controller.admin.qrcodeconfig.vo.QrCodeConfigCreateReqVO;
import com.nanhai.buddhist.college.module.study.controller.admin.qrcodeconfig.vo.QrCodeConfigRespVO;
import com.nanhai.buddhist.college.module.study.controller.admin.qrcodeconfig.vo.QrCodeConfigUpdateReqVO;
import com.nanhai.buddhist.college.module.study.convert.classclockrecord.ClockRecordConvert;
import com.nanhai.buddhist.college.module.study.dal.dataobject.qrcodeconfig.QrCodeConfigDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author AKai
 * @date 2022/9/13
 */
@Mapper
public interface QrCodeConfigConvert {
    QrCodeConfigConvert INSTANCE = Mappers.getMapper(QrCodeConfigConvert.class);

    QrCodeConfigDO convert(ClockRecordConvert bean);

    QrCodeConfigDO convert(QrCodeConfigUpdateReqVO bean);

    QrCodeConfigRespVO convert(QrCodeConfigDO bean);

    QrCodeConfigDO convert(QrCodeConfigCreateReqVO createReqVO);
}
